<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/jsp/tag.jsp" %>  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>车手管理列表</title>
</head>
<body >
<!-- topbar starts -->
	<c:import url="../../../../common/jsp/top.jsp"></c:import>
	<!-- topbar ends -->
		<div class="container-fluid">
		<div class="row-fluid">
				
			<!-- left menu starts -->
			<c:import url="../../../../common/jsp/left.jsp"></c:import>
			<!-- left menu ends -->
			
			<noscript>
				<div class="alert alert-block span10">
					<h4 class="alert-heading">Warning!</h4>
					<p>You need to have <a href="http://en.wikipedia.org/wiki/JavaScript" target="_blank">JavaScript</a> enabled to use this site.</p>
				</div>
			</noscript>
			
			<div id="content" class="span10">
			<!-- content starts -->
			<div class="row-fluid sortable">
				<div class="box span12">
					<div class="box-content">
						<form class="form-horizontal" id="f1" action="${ctx }/manage/team/save" method="post" enctype="multipart/form-data" >
							<fieldset>
							  <div class="control-group">
								<label class="control-label">车队名称：</label>
								<div class="controls">
								  ${team.teamName }
								</div>
							  </div>
							  <div class="control-group">
								<label class="control-label">首次参赛时间：</label>
								<div class="controls">
								 ${team.firstMatchTime }
								</div>
							  </div>
							  <div class="control-group">
								<label class="control-label" >总部地址：</label>
								<div class="controls">
								  ${team.address }
								</div>
							  </div>
							  <div class="control-group">
								<label class="control-label" >参赛次数：</label>
								<div class="controls">
								  ${team.matchTime } 次
								</div>
							  </div>
							  <div class="control-group">
								<label class="control-label" >车队冠军：</label>
								<div class="controls">
								  ${team.teamChampion } 次
								</div>
							  </div>
							  <div class="control-group">
								<label class="control-label" >车手冠军：</label>
								<div class="controls">
								  ${team.driverChampion } 次
								</div>
							  </div>
							  <div class="control-group">
								<label class="control-label" >车队积分：</label>
								<div class="controls">
								  ${team.point }
								</div>
							  </div>
							  <div class="control-group">
								<label class="control-label" >第一车手：</label>
								<div class="controls">
								  ${team.firstDriver }
								</div>
							  </div>
							  <div class="control-group">
								<label class="control-label" >第二车手：</label>
								<div class="controls">
								  ${team.secondDriver }
								</div>
							  </div>
							  <div class="control-group">
								<label class="control-label" >试车手：</label>
								<div class="controls">
								  ${team.testDriver }
								</div>
							  </div>
							  <div class="control-group">
								<label class="control-label" >官方网址：</label>
								<div class="controls">
								  ${team.teamUrl }
								</div>
							  </div>
							  <div class="control-group">
								<label class="control-label">赛事类型：</label>
								<div class="controls">
								  	<c:forEach items="${matchTeamList }" var="item" >
										<label class="checkbox inline">
											${item.match.matchTypeName }、
										  </label>
									</c:forEach>
								</div>
							  </div>
							  <div class="control-group">
								<label class="control-label" >车队图标1：</label>
								<div class="controls">
								  <img src="${ctx }${driver.teamPhotoUp}"></img>
								</div>
							  </div>
							  <div class="control-group">
								<label class="control-label" >车队图标2：</label>
								<div class="controls">
								  <img src="${ctx }${driver.teamPhotoDown}"></img>
								</div>
							  </div>
							  <div class="form-actions">
								<input type="button" class="btn btn-primary" onclick="javascript:history.back(-1)" value="返回" />
							  </div>
							</fieldset>
						  </form>
					
					</div>
				</div><!--/span-->
			</div><!--/row-->
					<!-- content ends -->
			</div><!--/#content.span10-->
				</div><!--/fluid-row-->
			<!-- foot  begin -->
			<c:import url="../../../../common/jsp/bottom.jsp"></c:import>
			<!-- foot end -->		
	</div><!--/.fluid-container-->
</body>
</html>
